package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 运输计划
 * </p>
 *
 * @author caoYong
 * @since 2019-05-23
 */
@Data
@ApiModel(value="StoTransportPlan对象", description="运输计划")
public class StoTransportPlanVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String transportPlanId;

    @ApiModelProperty(value = "运输计划单号")
    private String transportPlanNo;

    @ApiModelProperty(value = "SAP交货单号,	一台车一个交接单号")
    private String vbeln;

    @ApiModelProperty(value = "单据状态 (Transport_Plan_State,1汇集,2计划已下发,3计划取消,4已安排运输计划,5运单已发布,6在出库,7运输在途,8已运抵)")
    private String billState;

    @ApiModelProperty(value = "运输路线代码")
    private String routeCode;

    @ApiModelProperty(value = "承运商代码")
    private String carrierCode;

    @ApiModelProperty(value = "承运商名称")
    private String carrierName;

    @ApiModelProperty(value = "车辆VIN码")
    private String vin;

    @ApiModelProperty(value = "创建时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "起运城市代码")
    private String startCityCode;

    @ApiModelProperty(value = "起运城市名称")
    private String startCityName;

    @ApiModelProperty(value = "目的城市代码")
    private String endCityCode;

    @ApiModelProperty(value = "目的城市名称")
    private String endCityName;

    @ApiModelProperty(value = "运达方渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "运达方渠道商名称")
    private String partnerName;

    @ApiModelProperty(value = "渠道商收车地址")
    private String receiveAddress;

    @ApiModelProperty(value = "厂端出库地点")
    private String stockOutLocation;

    @ApiModelProperty(value = "是否自提(0否,1是)")
    private Integer isPickSelf;

    @ApiModelProperty(value = "是否已自提(0否,1是)")
    private Integer isPicked;

    @ApiModelProperty(value = "提车人姓名")
    private String pickerName;

    @ApiModelProperty(value = "提车人电话")
    private String pickerPhone;

    @ApiModelProperty(value = "提车日期")
    private Date pickDate;

    @ApiModelProperty(value = "批售子订单主键")
    private String orderCarId;

}
